package cn.wolfcode.wolf2world.repository;

import cn.wolfcode.wolf2world.domain.Region;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * @author 杨兴健
 * @Date 2020/8/9 20:04
 */
public interface RegionRepository extends MongoRepository<Region,String> {

    /**
     * 根据是否热点区域查询
     * @param stateHot
     * @return
     */
    List<Region> findByIshot(int stateHot);
}
